<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value="/css/style.css" />" rel="stylesheet" type="text/css" media="screen" />
<title>Insert title here</title>
</head>
<body>
<!-- 引入共同的頁首 -->
<c:set var="funcName" value="IND" scope="session"/>
<jsp:include page="/top/top.jsp" />

<!-- 從這裡開始寫 -->
<center>
新增課程
<form action="<c:url value="/manager/CourseServlet" />" method="post">
<table>
<tr>
<td>
課程名稱</td><td><input required type="text" name="cname">
</td>
</tr>
<tr>
<td>
講師</td><td><input required type="text" name="cteacher">
</td>
</tr>
<tr>
<td>
開始日期</td><td><input required type="date" name="cstartdate">
</td>
</tr>
<tr>
<td>
結束日期</td><td><input required type="date" name="cenddate">
</td>
</tr>
<tr>
<td>
參加人數</td><td><input required type="text" name="cpeople">
</td>
</tr>
<tr>
<td>
地點</td><td><input required type="text" name="cplace">
</td>
</tr>
<tr>
<td>
報名費用</td><td><input required type="text" name="cprice">
</td>
</tr>
<tr>
<td>
課程介紹</td><td><textarea required cols="30" rows="5" name="cintroduce"></textarea>
</td>
</tr>


<tr>
<td></td><td>
<input type="submit" value="新增!">
</td>
</tr>
</table>
</form>
</center>

<!-- 寫到這裡結束 -->

<div id="footer-wrapper">
	<div id="footer">
		<p>Copyright (c) 2010 Sitename.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/" rel="nofollow">FCT</a>.</p>
	</div>
</div>
</body>
</html>